<?php

function get_database_table($database)
{

    $tables = do_query("SHOW TABLES FROM " . $database . "");


	print_r($tables);
    while ($row = mysqli_fetch_array($tables)) {
        $tables_list[] = $row['Field'];

    }

    return $tables_list;

}